package com.hcb.micro.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hcb.micro.dao.interfaceClass.BuyBackMapper;
import com.hcb.micro.dto.BuyBack;
import com.hcb.micro.service.IBuyBackService;

@Service("BuyBackService")
public class BuyBackServiceImpl implements IBuyBackService {

	@Autowired
	BuyBackMapper buyBackMapper;

	@Override
	public List<BuyBack> selectByPara(Map<String, Object> map) {
		return buyBackMapper.selectByPara(map);
	}

	@Override
	public BuyBack selectByPrimaryKey(Integer id) {
		
		return buyBackMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(BuyBack record) {

		return buyBackMapper.updateByPrimaryKeySelective(record);
	}
	
	

}
